<?php

{{ builderInfo.php|raw }}

namespace {{ thisController.namespace }};

class {{ thisController.class }} extends \{{ appNamespace }}\Core\Controller {
  public function prepareViewParams() {
    parent::prepareViewParams();
{% if thisController.config.params %}
    $this->viewParams = array_merge(
      $this->viewParams,
{{ varExport(thisController.config.params, "      ")|raw }} ?? []
    );
{% endif %}
  }
}
